<html>
	<head>
		{hd:config_load file="config.php"}
		<meta charset="utf8">
		<link href="./state/css/{hd:#style#}.css" type='text/css' rel="stylesheet"/>
		<style type="text/css">
			#page a{padding:3px 6px;margin-right:6px;background:#444;color:#fff;}
			#page span{padding:3px 6px;margin-right:6px;background:green;color:#fff;}
		</style>
	</head>
	<body>
		{hd:config_load file="config.php" section="webconfig"}
		<h1>{hd:#webtitle#}</h1>
		作者：{hd:#author#}
		{hd:nocache}
			{hd:if $smarty.session.uid}
				<h2>欢迎{hd:$smarty.session.username}</h2>
			{hd:/if}
		{hd:/nocache}
		<hr/>
		<iframe src="user.php" width="400" height="80"></iframe>
<table border='1' width="600">
	<tr>
		<td>标题</td>
	</tr>
	{hd:section loop="$rows" name="n"}
		<tr>
			<td>{hd:$rows[n].title}</td>
		</tr>
	{hd:/section}
</table>
<hr/>
<div id="page">
{hd:$page}
</div>
</body>
</html>